
<table summary='' cellpadding="0" border="0" align="center" cellspacing="0" width="100%">
  <tr>
    <td valign="top" align="center"><table summary='' cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
        <tr>
          <td class="p_link" align="left"><a href="#" class="a_top">Shopping</a></td>
        </tr>
      </table>
                  <form action="{geturl plugin=_this method=null params='event=recalculate'}" name="f_recalculate" method="POST">

      <table summary='' cellpadding="0" cellspacing="0" width="100%" align="center">
        <tr>
          <td align="center" class="table_pad"><table summary='' cellpadding="0" cellspacing="0" width="650">
              <tr>
                <td><img src="img/shop_cart_01.jpg" alt=""></td>
              </tr>
              <tr>
                <td width="650" height="20" align="left"><font class="faq">What You
                  Really Need To Do Is Find Yourself A Brand New Desktop</font></td>
              </tr>
              <tr>
                <td height="9"></td>
              </tr>
            </table>
            <table summary='' cellpadding="0" cellspacing="0" width="650" border="0" align="center">
              <tr>
                <td valign="top">

                    <table summary='' cellpadding="0" cellspacing="0" border="0" width="650" align="center">
                    <tr>
                      <td valign="top" align="center">
                      <table summary='' cellpadding="0" cellspacing="0" style='border:1px solid #83C2F8'>
                      <tr>
                            <td width="150"><img src="/img/photo.jpg" width="150" height="20" alt=""></td>
                            <td width="100"><img src="/img/item.jpg" width="100" height="20"alt=""></td>
                            <td width="150"><img src="/img/item_description.jpg" width="150"height="20" alt=""></td>
                            <td width="50"><img src="/img/qty.jpg" width="50" height="20" alt=""></td>
                            <td width="10" height="20" bgcolor="#83C2F8"></td>
                            <td width="100" height="20"><img src="/img/price.jpg" width="100" height="20" alt=""></td>
                            <td width="100"><img src="/img/photo_.jpg" width="100" height="20" alt=""></td>
                      </tr>
      {if empty($cart) || !count($cart)}
      <tr >
        <td colspan="7" align="center" height="40"><font class="faq">No items collected in the shopping cart</font></td>
      </tr>
      {else}
                      
      {foreach name="cart" from=$cart key=id item=item}
                      <tr>
                            <td width="150" height="100" align="center" valign="middle">
<a href="{getsurl id=$item.id plugin="catalogpage" method="null" params="page=view_details&pid="}"><img src="{$item.thumbnail}" width="100" height="100" alt="" border="0"></a>
                            </td>
                            <td width="100" height="100" align="center"><font class="faq">{$item.title|default:"&nbsp;"}</font></td>
                            <td width="150" height="100" align="center"><font class="faq"><b>Silver Ring</b> With Embroidery Around it...</font></td>
                            <td width="50" height="40" valign="middle" align="center">
                            <table summary='' cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    {$item.qty_on_stock}<img onclick="javascript: qplus({$id},{$item.qty_on_stock});" src="/img/+.jpg" alt="+" border="0" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                <input type="text" id="q{$id}" class="input_1" name="qty[{$id}]" value="{$item.qty}" style="width:22px; border: none; text-align: center; color: #516AB1; font-family: Arial; font-size: 11px; font-weight: bold;" readonly />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <img onclick="javascript: qminus({$id});" src="/img/-.jpg" border="0" alt="-" />
                                </td>
                            </tr>
                            </table>    
                            </td>
                            <td align="center" valign="middle" style="padding-top:4px"><a title="Remove" href="{geturl plugin=_this method=null params="event=delete&id=`$id`"}"><img alt="Remove" src="/img/delete_icon.gif" border="0" /></a></td>
                            <td align="center" width="100" height="100" valign="middle"><font class="faq"><b>${$item.price_nf|default:"0"}</b></font></td>
                            <td align="center" width="100" height="100" valign="middle"><font class="faq"><b>${$item.subtotal|default:"0"}</b></font></td>

                      </tr>
      {/foreach}

      {/if}                
                  </table>
               </td>
              </tr>
            </table>

                  <table summary='' cellpadding="0" cellspacing="0" width="652" align="center">
                    <tr>
                      <td width="400" height="20"></td>
                      <td width="252" height="20" bgcolor="#83C2F8" align="center"><a href="#" style="text-decoration:none;" onClick="return false;">Total : ${$price|default:"0"}</a></td>
                    </tr>
                    <tr>
                      <td height="15"></td>
                    </tr>
                  </table>
      {if !empty($cart) and count($cart)}

                  <table summary='' cellpadding="0" cellspacing="0" width="650">
                    <tr>
                      <td align="center"><a href="#" onclick="window.location.href='/index.php?path=catalogpage&cid={$parent_cat}'"><img src="/img/continue_shopping.jpg" border="0" alt="Continue shopping"></a>
                      <img src="/img/cart_recalculate.gif" onclick="document.forms['f_recalculate'].submit();" border="0" alt="Recalculate">
                      <a href="#" title="Checkout" onclick="window.location.href='/index.php?path=cart,checkout'"><img src="/img/checkout.jpg" border="0" alt="Checkout" /></a></td>
                    </tr>
                  </table>
    {/if}                  
                  </td>
              </tr>
            </table></td>

        </tr>
      </table>
</form>      
      </td>
  </tr>
</table>

